package com.ruoyi.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@Accessors(chain = true)
public class WarnCount {
    @ApiModelProperty(value = "统计时间开始")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date countDateStart;
    @ApiModelProperty(value = "统计时间结束")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date countDateEnd;
    @ApiModelProperty(value = "总报警")
    private Long allCount;
    @ApiModelProperty(value = "已处理")
    private Long okCount;
    @ApiModelProperty(value = "未处理")
    private Long noCount;
    @ApiModelProperty(value = "设备编号")
    @Excel(name = "设备编号")
    private String deviceId;

    @ApiModelProperty(value = "设备名称")
    @Excel(name = "设备名称")
    private String deviceName;

    @ApiModelProperty(value = "设备型号")
    @Excel(name = "设备型号")
    private String deviceModel;

    @ApiModelProperty(value = "所属单位ID")
    private Long deptId;

    @ApiModelProperty(value = "所属单位")
    @Excel(name = "所属单位")
    private String deptName;

}
